!macro customInstall
  WriteRegStr SHCTX "SOFTWARE\RegisteredApplications" "Meow" "Software\Clients\StartMenuInternet\Meow\Capabilities"

  WriteRegStr SHCTX "SOFTWARE\Classes\Meow" "" "Meow HTML Document"
  WriteRegStr SHCTX "SOFTWARE\Classes\Meow\Application" "AppUserModelId" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Classes\Meow\Application" "ApplicationIcon" "$INSTDIR\Meow.exe,0"
  WriteRegStr SHCTX "SOFTWARE\Classes\Meow\Application" "ApplicationName" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Classes\Meow\Application" "ApplicationCompany" "Meow"      
  WriteRegStr SHCTX "SOFTWARE\Classes\Meow\Application" "ApplicationDescription" "A privacy-focused, extensible and beautiful web browser"      
  WriteRegStr SHCTX "SOFTWARE\Classes\Meow\DefaultIcon" "DefaultIcon" "$INSTDIR\Meow.exe,0"
  WriteRegStr SHCTX "SOFTWARE\Classes\Meow\shell\open\command" "" '"$INSTDIR\Meow.exe" "%1"'

  WriteRegStr SHCTX "SOFTWARE\Classes\.htm\OpenWithProgIds" "Meow" ""
  WriteRegStr SHCTX "SOFTWARE\Classes\.html\OpenWithProgIds" "Meow" ""

  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow" "" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\DefaultIcon" "" "$INSTDIR\Meow.exe,0"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities" "ApplicationDescription" "A privacy-focused, extensible and beautiful web browser, Free and open source."
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities" "ApplicationName" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities" "ApplicationIcon" "$INSTDIR\Meow.exe,0"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities\FileAssociations" ".htm" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities\FileAssociations" ".html" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities\URLAssociations" "http" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities\URLAssociations" "https" "Meow"
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\Capabilities\StartMenu" "StartMenuInternet" "Meow"
  
  WriteRegDWORD SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\InstallInfo" "IconsVisible" 1
  
  WriteRegStr SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow\shell\open\command" "" "$INSTDIR\Meow.exe"
!macroend
!macro customUnInstall
  DeleteRegKey SHCTX "SOFTWARE\Classes\Meow"
  DeleteRegKey SHCTX "SOFTWARE\Clients\StartMenuInternet\Meow"
  DeleteRegValue SHCTX "SOFTWARE\RegisteredApplications" "Meow"
!macroend